package com.xjun.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 *
 * @TableName formtable_main_115
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FormtableMain115 implements Serializable {
    /**
     *
     */
    private Integer id;

    /**
     *
     */
    private Integer requestid;

    /**
     * 	提交人
     */
    private Integer proposer;

    /**
     * 	处理人
     */
    private String handler;

    /**
     * 	问题类型
     */
    private Integer lx;

    /**
     * 	是否需要返工
     */
    private Integer rework;

    /**
     * 是否关闭问题
     */
    private Integer isfinish;

    /**
     * 销售订单号
     */
    private String xsddh;

    /**
     * 	成品料号
     */
    private String cplh;

    /**
     * 	批量
     */
    private Integer pl;

    /**
     * 产品规格
     */
    private String cpgg;

    /**
     * 	选择记录
     */
    private String xzj;

    /**
     * 单据编号
     */
    private String fbillno;

    /**
     * 	工单编号
     */
    private String gdbh;

    /**
     * 原因
     */
    private String reson;

    /**
     * 问题描述
     */
    private String wtms;

    /**
     * 问题提交时间
     */
    private String begintime;

    /**
     * 问题处理时间
     */
    private String handeltime;

    /**
     * 问题结案时间
     */
    private String endtime;

    /**
     * 品质审核人
     */
    private Integer pzshr;

    /**
     * 	问题上报
     */
    private Integer wtsb;

    /**
     * 问题实施人
     */
    private Integer wtssr;

    /**
     *
     */
    private Integer formmodeid;

    /**
     *
     */
    private Integer modedatacreater;

    /**
     *
     */
    private Integer modedatacreatertype;

    /**
     *
     */
    private String modedatacreatedate;

    /**
     *
     */
    private String modedatacreatetime;

    /**
     *
     */
    private Integer modedatamodifier;

    /**
     *
     */
    private String modedatamodifydatetime;

    /**
     *
     */
    private String modeuuid;

    private static final long serialVersionUID = 1L;

    public FormtableMain115(Integer id, Integer requestid, Integer proposer, String handler, Integer lx, Integer rework, String fbillno, String gdbh, String begintime, String handeltime, String endtime) {
    }

    public FormtableMain115(Integer id, Integer requestid) {
        this.id = id;
        this.requestid = requestid;
    }


    /**
     *
     */
    public Integer getId() {
        return id;
    }

    /**
     *
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     *
     */
    public Integer getRequestid() {
        return requestid;
    }

    /**
     *
     */
    public void setRequestid(Integer requestid) {
        this.requestid = requestid;
    }

    /**
     * 	提交人
     */
    public Integer getProposer() {
        return proposer;
    }

    /**
     * 	提交人
     */
    public void setProposer(Integer proposer) {
        this.proposer = proposer;
    }

    /**
     * 	处理人
     */
    public String getHandler() {
        return handler;
    }

    /**
     * 	处理人
     */
    public void setHandler(String handler) {
        this.handler = handler;
    }

    /**
     * 	问题类型
     */
    public Integer getLx() {
        return lx;
    }

    /**
     * 	问题类型
     */
    public void setLx(Integer lx) {
        this.lx = lx;
    }

    /**
     * 	是否需要返工
     */
    public Integer getRework() {
        return rework;
    }

    /**
     * 	是否需要返工
     */
    public void setRework(Integer rework) {
        this.rework = rework;
    }

    /**
     * 是否关闭问题
     */
    public Integer getIsfinish() {
        return isfinish;
    }

    /**
     * 是否关闭问题
     */
    public void setIsfinish(Integer isfinish) {
        this.isfinish = isfinish;
    }

    /**
     * 销售订单号
     */
    public String getXsddh() {
        return xsddh;
    }

    /**
     * 销售订单号
     */
    public void setXsddh(String xsddh) {
        this.xsddh = xsddh;
    }

    /**
     * 	成品料号
     */
    public String getCplh() {
        return cplh;
    }

    /**
     * 	成品料号
     */
    public void setCplh(String cplh) {
        this.cplh = cplh;
    }

    /**
     * 	批量
     */
    public Integer getPl() {
        return pl;
    }

    /**
     * 	批量
     */
    public void setPl(Integer pl) {
        this.pl = pl;
    }

    /**
     * 产品规格
     */
    public String getCpgg() {
        return cpgg;
    }

    /**
     * 产品规格
     */
    public void setCpgg(String cpgg) {
        this.cpgg = cpgg;
    }

    /**
     * 	选择记录
     */
    public String getXzj() {
        return xzj;
    }

    /**
     * 	选择记录
     */
    public void setXzj(String xzj) {
        this.xzj = xzj;
    }

    /**
     * 单据编号
     */
    public String getFbillno() {
        return fbillno;
    }

    /**
     * 单据编号
     */
    public void setFbillno(String fbillno) {
        this.fbillno = fbillno;
    }

    /**
     * 	工单编号
     */
    public String getGdbh() {
        return gdbh;
    }

    /**
     * 	工单编号
     */
    public void setGdbh(String gdbh) {
        this.gdbh = gdbh;
    }

    /**
     * 原因
     */
    public String getReson() {
        return reson;
    }

    /**
     * 原因
     */
    public void setReson(String reson) {
        this.reson = reson;
    }

    /**
     * 问题描述
     */
    public String getWtms() {
        return wtms;
    }

    /**
     * 问题描述
     */
    public void setWtms(String wtms) {
        this.wtms = wtms;
    }

    /**
     * 问题提交时间
     */
    public String getBegintime() {
        return begintime;
    }

    /**
     * 问题提交时间
     */
    public void setBegintime(String begintime) {
        this.begintime = begintime;
    }

    /**
     * 问题处理时间
     */
    public String getHandeltime() {
        return handeltime;
    }

    /**
     * 问题处理时间
     */
    public void setHandeltime(String handeltime) {
        this.handeltime = handeltime;
    }

    /**
     * 问题结案时间
     */
    public String getEndtime() {
        return endtime;
    }

    /**
     * 问题结案时间
     */
    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    /**
     * 品质审核人
     */
    public Integer getPzshr() {
        return pzshr;
    }

    /**
     * 品质审核人
     */
    public void setPzshr(Integer pzshr) {
        this.pzshr = pzshr;
    }

    /**
     * 	问题上报
     */
    public Integer getWtsb() {
        return wtsb;
    }

    /**
     * 	问题上报
     */
    public void setWtsb(Integer wtsb) {
        this.wtsb = wtsb;
    }

    /**
     * 问题实施人
     */
    public Integer getWtssr() {
        return wtssr;
    }

    /**
     * 问题实施人
     */
    public void setWtssr(Integer wtssr) {
        this.wtssr = wtssr;
    }

    /**
     *
     */
    public Integer getFormmodeid() {
        return formmodeid;
    }

    /**
     *
     */
    public void setFormmodeid(Integer formmodeid) {
        this.formmodeid = formmodeid;
    }

    /**
     *
     */
    public Integer getModedatacreater() {
        return modedatacreater;
    }

    /**
     *
     */
    public void setModedatacreater(Integer modedatacreater) {
        this.modedatacreater = modedatacreater;
    }

    /**
     *
     */
    public Integer getModedatacreatertype() {
        return modedatacreatertype;
    }

    /**
     *
     */
    public void setModedatacreatertype(Integer modedatacreatertype) {
        this.modedatacreatertype = modedatacreatertype;
    }

    /**
     *
     */
    public String getModedatacreatedate() {
        return modedatacreatedate;
    }

    /**
     *
     */
    public void setModedatacreatedate(String modedatacreatedate) {
        this.modedatacreatedate = modedatacreatedate;
    }

    /**
     *
     */
    public String getModedatacreatetime() {
        return modedatacreatetime;
    }

    /**
     *
     */
    public void setModedatacreatetime(String modedatacreatetime) {
        this.modedatacreatetime = modedatacreatetime;
    }

    /**
     *
     */
    public Integer getModedatamodifier() {
        return modedatamodifier;
    }

    /**
     *
     */
    public void setModedatamodifier(Integer modedatamodifier) {
        this.modedatamodifier = modedatamodifier;
    }

    /**
     *
     */
    public String getModedatamodifydatetime() {
        return modedatamodifydatetime;
    }

    /**
     *
     */
    public void setModedatamodifydatetime(String modedatamodifydatetime) {
        this.modedatamodifydatetime = modedatamodifydatetime;
    }

    /**
     *
     */
    public String getModeuuid() {
        return modeuuid;
    }

    /**
     *
     */
    public void setModeuuid(String modeuuid) {
        this.modeuuid = modeuuid;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        FormtableMain115 other = (FormtableMain115) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getRequestid() == null ? other.getRequestid() == null : this.getRequestid().equals(other.getRequestid()))
            && (this.getProposer() == null ? other.getProposer() == null : this.getProposer().equals(other.getProposer()))
            && (this.getHandler() == null ? other.getHandler() == null : this.getHandler().equals(other.getHandler()))
            && (this.getLx() == null ? other.getLx() == null : this.getLx().equals(other.getLx()))
            && (this.getRework() == null ? other.getRework() == null : this.getRework().equals(other.getRework()))
            && (this.getIsfinish() == null ? other.getIsfinish() == null : this.getIsfinish().equals(other.getIsfinish()))
            && (this.getXsddh() == null ? other.getXsddh() == null : this.getXsddh().equals(other.getXsddh()))
            && (this.getCplh() == null ? other.getCplh() == null : this.getCplh().equals(other.getCplh()))
            && (this.getPl() == null ? other.getPl() == null : this.getPl().equals(other.getPl()))
            && (this.getCpgg() == null ? other.getCpgg() == null : this.getCpgg().equals(other.getCpgg()))
            && (this.getXzj() == null ? other.getXzj() == null : this.getXzj().equals(other.getXzj()))
            && (this.getFbillno() == null ? other.getFbillno() == null : this.getFbillno().equals(other.getFbillno()))
            && (this.getGdbh() == null ? other.getGdbh() == null : this.getGdbh().equals(other.getGdbh()))
            && (this.getReson() == null ? other.getReson() == null : this.getReson().equals(other.getReson()))
            && (this.getWtms() == null ? other.getWtms() == null : this.getWtms().equals(other.getWtms()))
            && (this.getBegintime() == null ? other.getBegintime() == null : this.getBegintime().equals(other.getBegintime()))
            && (this.getHandeltime() == null ? other.getHandeltime() == null : this.getHandeltime().equals(other.getHandeltime()))
            && (this.getEndtime() == null ? other.getEndtime() == null : this.getEndtime().equals(other.getEndtime()))
            && (this.getPzshr() == null ? other.getPzshr() == null : this.getPzshr().equals(other.getPzshr()))
            && (this.getWtsb() == null ? other.getWtsb() == null : this.getWtsb().equals(other.getWtsb()))
            && (this.getWtssr() == null ? other.getWtssr() == null : this.getWtssr().equals(other.getWtssr()))
            && (this.getFormmodeid() == null ? other.getFormmodeid() == null : this.getFormmodeid().equals(other.getFormmodeid()))
            && (this.getModedatacreater() == null ? other.getModedatacreater() == null : this.getModedatacreater().equals(other.getModedatacreater()))
            && (this.getModedatacreatertype() == null ? other.getModedatacreatertype() == null : this.getModedatacreatertype().equals(other.getModedatacreatertype()))
            && (this.getModedatacreatedate() == null ? other.getModedatacreatedate() == null : this.getModedatacreatedate().equals(other.getModedatacreatedate()))
            && (this.getModedatacreatetime() == null ? other.getModedatacreatetime() == null : this.getModedatacreatetime().equals(other.getModedatacreatetime()))
            && (this.getModedatamodifier() == null ? other.getModedatamodifier() == null : this.getModedatamodifier().equals(other.getModedatamodifier()))
            && (this.getModedatamodifydatetime() == null ? other.getModedatamodifydatetime() == null : this.getModedatamodifydatetime().equals(other.getModedatamodifydatetime()))
            && (this.getModeuuid() == null ? other.getModeuuid() == null : this.getModeuuid().equals(other.getModeuuid()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getRequestid() == null) ? 0 : getRequestid().hashCode());
        result = prime * result + ((getProposer() == null) ? 0 : getProposer().hashCode());
        result = prime * result + ((getHandler() == null) ? 0 : getHandler().hashCode());
        result = prime * result + ((getLx() == null) ? 0 : getLx().hashCode());
        result = prime * result + ((getRework() == null) ? 0 : getRework().hashCode());
        result = prime * result + ((getIsfinish() == null) ? 0 : getIsfinish().hashCode());
        result = prime * result + ((getXsddh() == null) ? 0 : getXsddh().hashCode());
        result = prime * result + ((getCplh() == null) ? 0 : getCplh().hashCode());
        result = prime * result + ((getPl() == null) ? 0 : getPl().hashCode());
        result = prime * result + ((getCpgg() == null) ? 0 : getCpgg().hashCode());
        result = prime * result + ((getXzj() == null) ? 0 : getXzj().hashCode());
        result = prime * result + ((getFbillno() == null) ? 0 : getFbillno().hashCode());
        result = prime * result + ((getGdbh() == null) ? 0 : getGdbh().hashCode());
        result = prime * result + ((getReson() == null) ? 0 : getReson().hashCode());
        result = prime * result + ((getWtms() == null) ? 0 : getWtms().hashCode());
        result = prime * result + ((getBegintime() == null) ? 0 : getBegintime().hashCode());
        result = prime * result + ((getHandeltime() == null) ? 0 : getHandeltime().hashCode());
        result = prime * result + ((getEndtime() == null) ? 0 : getEndtime().hashCode());
        result = prime * result + ((getPzshr() == null) ? 0 : getPzshr().hashCode());
        result = prime * result + ((getWtsb() == null) ? 0 : getWtsb().hashCode());
        result = prime * result + ((getWtssr() == null) ? 0 : getWtssr().hashCode());
        result = prime * result + ((getFormmodeid() == null) ? 0 : getFormmodeid().hashCode());
        result = prime * result + ((getModedatacreater() == null) ? 0 : getModedatacreater().hashCode());
        result = prime * result + ((getModedatacreatertype() == null) ? 0 : getModedatacreatertype().hashCode());
        result = prime * result + ((getModedatacreatedate() == null) ? 0 : getModedatacreatedate().hashCode());
        result = prime * result + ((getModedatacreatetime() == null) ? 0 : getModedatacreatetime().hashCode());
        result = prime * result + ((getModedatamodifier() == null) ? 0 : getModedatamodifier().hashCode());
        result = prime * result + ((getModedatamodifydatetime() == null) ? 0 : getModedatamodifydatetime().hashCode());
        result = prime * result + ((getModeuuid() == null) ? 0 : getModeuuid().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", requestid=").append(requestid);
        sb.append(", proposer=").append(proposer);
        sb.append(", handler=").append(handler);
        sb.append(", lx=").append(lx);
        sb.append(", rework=").append(rework);
        sb.append(", isfinish=").append(isfinish);
        sb.append(", xsddh=").append(xsddh);
        sb.append(", cplh=").append(cplh);
        sb.append(", pl=").append(pl);
        sb.append(", cpgg=").append(cpgg);
        sb.append(", xzj=").append(xzj);
        sb.append(", fbillno=").append(fbillno);
        sb.append(", gdbh=").append(gdbh);
        sb.append(", reson=").append(reson);
        sb.append(", wtms=").append(wtms);
        sb.append(", begintime=").append(begintime);
        sb.append(", handeltime=").append(handeltime);
        sb.append(", endtime=").append(endtime);
        sb.append(", pzshr=").append(pzshr);
        sb.append(", wtsb=").append(wtsb);
        sb.append(", wtssr=").append(wtssr);
        sb.append(", formmodeid=").append(formmodeid);
        sb.append(", modedatacreater=").append(modedatacreater);
        sb.append(", modedatacreatertype=").append(modedatacreatertype);
        sb.append(", modedatacreatedate=").append(modedatacreatedate);
        sb.append(", modedatacreatetime=").append(modedatacreatetime);
        sb.append(", modedatamodifier=").append(modedatamodifier);
        sb.append(", modedatamodifydatetime=").append(modedatamodifydatetime);
        sb.append(", modeuuid=").append(modeuuid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
